<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Tranh
 *
 * @author HOANGPHUC
 */
class Tranh {

    private $id;
    private $ten;
    private $soLuongTon;
    private $donGia;
    private $soLuongBan;
    private $moTa;
    private $theLoai;
    private $ten_en;
    private $donGia_USD;
    private $moTa_En;
    private $url;

    public function __construct() {

    }

    public function Tranh($id, $ten, $soLuongTon, $donGia, $soLuongBan, $moTa, $theLoai, $ten_en, $donGia_USD, $moTa_En, $url) {
        $this->id = $id;
        $this->ten = $ten;
        $this->soLuongTon = $soLuongTon;
        $this->donGia = $donGia;
        $this->soLuongBan = $soLuongBan;
        $this->moTa = $moTa;
        $this->theLoai = $theLoai;
        $this->ten_en = $ten_en;
        $this->donGia_USD = $donGia_USD;
        $this->moTa_En = $moTa_En;
        $this->url = $url;
    }
    public function GetId(){
        return $this->id;
    }
    public function SetId($id){
        $this->id = $id;
    }
    public function GetTen(){
        return $this->ten;
    }
    public function SetTen($ten){
        $this->ten = $ten;
    }
    public function  GetSoLuongTon(){
        return $this->soLuongTon;
    }
    public function SetSoLuongTon($soLuongTon){
        $this->soLuongTon = $soLuongTon;
    }
    public function GetDonGia(){
        return $this->donGia;
    }
    public function SetDonGia($donGia){
        $this->donGia = $donGia;
    }
    public function GetSoLuongBan(){
        return $this->soLuongBan;
    }
    public function SetSoLuongBan($soluongban){
        $this->SetSoLuongBan = $soluongban ;
    }
    public function GetMoTa(){
        return $this->moTa;
    }
    public function SetMoTa($moTa){
        $this->moTa = $moTa;
    }
    public function GetTheLoai(){
        return $this->theLoai;
    }
    public function SetTheLoai($theLoai){
        $this->theLoai = $theLoai;
    }
    public function GetTenEn(){
        return $this->ten_en;
    }
    public function SetTenEn($tenEn){
        $this->ten_en = $tenEn;
    }
    public function GetDonGiaUSD(){
        return $this->donGia_USD;
    }
    public function SetDonGiaUSD($donGiaUSD){
        $this->donGia_USD = $donGiaUSD;
    }
    public function GetMoTaEn(){
        return $this->moTa_En;
    }
    public function SetMoTaEn($moTaEn){
        $this->moTa_En = $moTaEn;
    }
    public function GetURL(){
        return $this->url;
    }
    public function SetURL($url){
        $this->url = $url;

    }
}

?>
